package trash.Test;


public class StackTraceTest
{
    public static void main(String[] args)
    {
        StackTraceElement[] steArray = Thread.currentThread().getStackTrace();
        for (StackTraceElement ste : steArray)
        {
            System.out.println(ste.getMethodName());
        }
    }
}
